﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PSMock.Implementation
{
	/// <summary>
	/// Option for mocking a type.
	/// </summary>
	public class MockedType
	{
		public Type Type { get; set; }

		/// <summary>
		/// Gets or sets the exception to be thrown when mocked (null if not throwing).
		/// </summary>
		public Exception ThrowException { get; set; }

		public MockedType(Type type)
		{
			Type = type;
		}
	}
}
